package cn.iocoder.yudao.module.enterprise.controller.admin.praxisProject.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("管理后台 - 项目查询EnterpriseProjectPageRespVO")
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EnterpriseProjectPageRespVO extends EnterpriseProjectVO {

    @ApiModelProperty(value = "部门(添加修改不需要传递)")
    private String dept;

    @ApiModelProperty(value = "职位(添加修改不需要传递)")
    private String job;

    @ApiModelProperty(value = "结束时间(添加修改不需要传递)")
    @JsonFormat(shape= JsonFormat.Shape.STRING, timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty(value = "创建人")
    private String creator;

}
